function controlCalendario(idCampoFecha){

	$(function() {
		  $( "#"+idCampoFecha ).datepicker({
			  dateFormat: "dd/mm/yy", 
		      showOn: "button",
		      buttonImage: "/join/img/calendar.jpg",
		      buttonHeight: "20px", 
		      buttonImageOnly: true,
		      buttonText: "Select date"
		    });
		});

}